import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import zhLocale from 'element-ui/lib/locale/lang/zh-CN'
import 'element-ui/lib/theme-chalk/index.css'
import api from "./api/index"
// import mixins from '@/mixins'
// import "./permission/index"
import vueComponent from "./plugins/vue-component.js";
Vue.use(vueComponent);
Vue.config.productionTip = false
Vue.prototype.api=api
// enable element zh-cn
Vue.use(ElementUI, { zhLocale })
// register global mixins.
// Vue.mixin(mixins)
new Vue({
  router,
  store,
  render: function (h) { return h(App) }
}).$mount('#app')
